package example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

public class HELLO {
   @ResponseBody
    @GetMapping("aa")
    public String hello() {return  "Hello World!";}

    @ResponseBody
    @GetMapping("bb")
    public  String hello2() {return"你好!";}

    @GetMapping("a")
    public String hello3() {return "a";}
    @GetMapping("b")
    public String hello4() {return "b";}
}
